package com.ionehe.group.common.uaa.ex.dao;

import com.ionehe.group.common.uaa.ex.model.UaaSetMealFunction;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

import java.util.List;

/**
 * Copyright (c) 2020 ionehe.com
 * Date: 2020/11/24
 * Time: 5:08 下午
 *
 * @author 2020年 <a href="mailto:a@ionehe.com">秀</a>
 */
public interface SetMealFunctionDao extends Mapper<UaaSetMealFunction>, InsertListMapper<UaaSetMealFunction> {
    List<Long> selectFunctionIdsBysetMealId(@Param("setMealId") Long setMealId);

    Integer deleteByFunctionId(@Param("functionId") Long aLong);

    Integer deleteBySetMealId(@Param("setMealId") Long setMealId);


}
